<?php
function neogeo_countrypropcat_Add(){
global $xoopsTpl;
 $xoopsTpl->display('neogeocountrypropcat_addform.thml');
}
function neogeo_countrypropcat_Add_ok(){
$countrypropcatH = & xoops_getmodulehandler("countrypropcat");
	 $countrypropcatO = $countrypropcatH->create();
	 $countrypropcatO->setFormVars($_POST,'countrypropcat');
	 $countrypropcatH->insert($countrypropcatO);
	 redirect_header('index.php');
}
function neogeo_countrypropcat_Edit(){
global $xoopsTpl;
 $xoopsTpl->display('neogeocountrypropcat_editform.thml');
}
function neogeo_countrypropcat_Edit_ok(){
$countrypropcatH = & xoops_getmodulehandler("countrypropcat");
	 $countrypropcatO = $countrypropcatH->get($_GET['id']);
	 $countrypropcatO->setFormVars($_POST,'countrypropcat');
	 $countrypropcatH->delete($countrypropcatO);
	 redirect_header('index.php');
}
function neogeo_countrypropcat_Delete_ok(){
$countrypropcatH = & xoops_getmodulehandler("countrypropcat");
	 $countrypropcatO = $countrypropcatH->get($_GET['id']);
#	 $countrypropcatO->setFormVars($_POST,'countrypropcat');
	 $countrypropcatH->delete($countrypropcatO);
	 redirect_header('index.php');

}



?>